package com.csun.cmny.provider.device.yingshi.entity;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2021/10/13 11:22
 * @Description: TODO
 */
public class YingShiConstant {

    /**
     * 根据appKey和secret获取accessToken
     *
     * https://open.ys7.com/doc/zh/book/index/user.html
     */
    public static final String GET_ACCESS_TOKEN_URL = "https://open.ys7.com/api/lapp/token/get";

    /**
     * 获取播放地址
     *
     * https://open.ys7.com/doc/zh/book/index/address_v2.html
     */
    public static final String GET_PLAY_URL = "https://open.ys7.com/api/lapp/v2/live/address/get";

    /**
     * 获取设备列表
     *
     * https://open.ys7.com/doc/zh/book/index/device_select.html#device_select-api1
     */
    public static final String GET_DEVICE_LIST_URL = "https://open.ys7.com/api/lapp/device/list";

    /**
     * 获取指定设备的通道信息
     *
     * https://open.ys7.com/doc/zh/book/index/device_select.html#device_select-api1
     */
    public static final String GET_DEVICE_CAMERA_LIST_URL = "https://open.ys7.com/api/lapp/device/camera/list";


    /**
     * 获取单个设备信息
     *
     * https://open.ys7.com/doc/zh/book/index/device_select.html#device_select-api2
     */
    public static final String GET_DEVICE_INFO = "https://open.ys7.com/api/lapp/device/info";
}
